#pragma once

#include "Misc/EngineEditorMacros.h"
#include "Object/Object.h"
#include "EditorWidgetViewModel.h"
#include "EditorWidgetView.m.h"

class RWidget;
class REditorWidgetViewModel;

RCLASS()
class REditorWidgetView : public RObject
{
    ROBJECT

public:
    virtual void BindViewModel(TSharedObjectPtr<REditorWidgetViewModel> InViewModel);
    virtual void CreateWidget(TSharedObjectPtr<RWidget> InWidget) {};

protected:
    TWeakObjectPtr<REditorWidgetViewModel> BaseViewModel;

};